<?php /* Smarty version Smarty-3.1.15, created on 2013-11-20 14:20:04
         compiled from "./templates/THomePage_add.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1548248074528b520e1e96a9-11855409%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3d681578747505babe82eb2a45c22538178d00d3' => 
    array (
      0 => './templates/THomePage_add.tpl',
      1 => 1384953589,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1548248074528b520e1e96a9-11855409',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_528b520e2116c8_55951873',
  'variables' => 
  array (
    'SCRIPT_NAME' => 0,
    'show' => 0,
    'jmeno' => 0,
    'ulice' => 0,
    'telefon' => 0,
    'cas' => 0,
    'rok' => 0,
    'poznamka' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_528b520e2116c8_55951873')) {function content_528b520e2116c8_55951873($_smarty_tpl) {?><div>
	<div><a href="<?php echo $_smarty_tpl->tpl_vars['SCRIPT_NAME']->value;?>
">Zpět na výpis</a></div>
	<?php echo $_smarty_tpl->getSubTemplate ('TError.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php if ($_smarty_tpl->tpl_vars['show']->value=='added') {?>
	<div class="flash">Přidáno!</div>
<?php } elseif ($_smarty_tpl->tpl_vars['show']->value=='form') {?>
	<form method="POST" name="acccustomer">
		<table border="0">
			<tr><td>Jméno:</td><td><input type="Text" name="jmeno" value="<?php echo $_smarty_tpl->tpl_vars['jmeno']->value;?>
" /></td></tr>
			<tr><td>Adresa:</td><td><input type="Text" name="ulice" value="<?php echo $_smarty_tpl->tpl_vars['ulice']->value;?>
" /></td></tr>
			<tr><td>Telefon:</td><td><input type="Text" name="telefon" value="<?php echo $_smarty_tpl->tpl_vars['telefon']->value;?>
" /></td></tr>
			<tr><td>Čas:</td><td><input type="Text" name="cas" value="<?php echo $_smarty_tpl->tpl_vars['cas']->value;?>
" /></td></tr>
			<tr><td>Rok:</td><td><input type="Text" name="rok"value="<?php echo $_smarty_tpl->tpl_vars['rok']->value;?>
" /></td></tr>
			<tr><td>Poznámka:</td><td><input type="Text" name="poznamka" value="<?php echo $_smarty_tpl->tpl_vars['poznamka']->value;?>
" /></td></tr>
			<tr><td></td><td><input type="submit" name="add" value="Přidat"/></td></tr>
		</table>
	</form>
<?php }?>
</div><?php }} ?>
